//
//  MyFansTableViewCell.m
//  lmq
//
//  Created by 马田成 on 2017/3/17.
//  Copyright © 2017年 yuanxin. All rights reserved.
//

#import "MyFansTableViewCell.h"
#import "MyFansOneModel.h"
@implementation MyFansTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
    
    // Configure the view for the selected state
}
- (void)setModelOfMyFans:(MyFansOneModel *)modelOfMyFans{

    self.namelabel.text = modelOfMyFans.name;
//    self.levelLabel.text = modelOfMyFans.level;
    self.timeLabel.text = modelOfMyFans.time;
    self.phoneLabel.text = modelOfMyFans.phone;
    self.levelLabel.text = modelOfMyFans.level;
    
    
//    if ([modelOfMyFans.level isEqualToString:@"高级店主"]) {
//        NSString *str1 = @" ";
//        self.levelLabel.text = [str1 stringByAppendingString:modelOfMyFans.level];
//    }else if ([modelOfMyFans.level isEqualToString:@"中级店主"]) {
//    
//        NSString *str2 = @" ";
//        self.levelLabel.text = [str2 stringByAppendingString:modelOfMyFans.level];
//    
//    } else if([modelOfMyFans.level isEqualToString:@"初级店主"]){
//    
//        NSString *str3 = @" ";
//        self.levelLabel.text = [str3 stringByAppendingString:modelOfMyFans.level];
//
//        
//    }else if([modelOfMyFans.level isEqualToString:@"普通会员"]){
//        
//        NSString *str3 = @" ";
//        self.levelLabel.text = [str3 stringByAppendingString:modelOfMyFans.level];
//        
//        
//    }

    
    


}
@end
